<?php 
	$doctypeHelper = new Zend_View_Helper_Doctype();
	$doctypeHelper->doctype('XHTML1_STRICT');

	echo $this->doctype();
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> 
<head> 
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> 
<title><?php echo (isSet($this->show_title) && $this->show_title == true) ? $this->title : $this->translate( 'title_'.$this->title ); ?></title>
<meta name="Author" content='Bartosz "IronWolf" Banaś'/> 
<script type="text/javascript" src="<?php  echo $this->baseUrl()?>/public/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="<?php  echo $this->baseUrl()?>/public/js/script.js" ></script>
<script type="text/javascript" src="<?php  echo $this->baseUrl()?>/public/js/jquery.stylish-select.min.js" ></script> 
<script type="text/javascript" src="<?php  echo $this->baseUrl()?>/public/js/jquery.lightbox-0.5.pack.js" ></script> 
<link rel="stylesheet" href="<?php  echo $this->baseUrl()?>/public/css/jquery.lightbox-0.5.css" type="text/css"/>
<link rel="stylesheet" href="<?php  echo $this->baseUrl()?>/public/css/style.css" type="text/css"/> 
<?php echo $this->inlineScript()->setScript('var baseUrl = "' . $this->baseUrl() . '"') ?>
<?php echo $this->headLink(); ?>
<?php echo $this->headScript(); ?>
</head> 
<body>
<div id="body">
<?php echo $this->inlineScript()->setScript('

	var emailOK = "' . $this->translate( "lay_email_ok" ) . '";
	var emailFALSE = "' . $this->translate( "lay_email_false" ) . '";
	var emailFALSEEXISTS = "' . $this->translate( "lay_email_false_exists" ) . '";

'); ?> 
    <div id="top">
        <div class="lewa">
            <div class="kreska"></div>
            <div class="logo"></div>
            <div class="nazwa"></div>
        </div>
        <div class="prawa">
            <div class="menu">
                <a href="<?php echo $this->baseUrl()?>/index/auth"><?php echo $this->translate("lay_login");?></a> |
                <a href="<?php echo $this->baseUrl()?>/index/registration"><?php echo $this->translate("lay_register");?></a> |
                <a href="<?php echo $this->baseUrl()?>/account/index"><?php echo $this->translate("lay_account");?></a> |
                <a href="#"><?php echo $this->translate("lay_faq");?></a> |
            </div>
            <div class="koszyk">
                <a href="<?php echo $this->baseUrl()?>/basket/index" style="color:#292929;"><?php echo $this->translate("lay_cart");?>: <?php echo (isSet($_SESSION['basket']['count']))? $_SESSION['basket']['count'] : '0' ;?> | <?php echo  number_format($this->basket_prize, 2, ',', ' ').$this->currency?></a>
            </div>
        </div>
    </div>
    <div id="menu">
    	<a href="<?php echo $this->baseUrl() ?>"><?php echo $this->translate("lay_myair");?></a>
        <a href="#"><?php echo $this->translate("lay_blog");?></a>
        <a href="#"><?php echo $this->translate("lay_team");?></a>
        <a href="#"><?php echo $this->translate("lay_help");?></a>
        <a href="#"><?php echo $this->translate("lay_contact");?></a>
        <input type="text">
        <input type="submit" value="">
    </div>
    <div id="middle">
        <div class="menu">
        	<?php 
        	foreach($this->kat as $one){
        		echo '<a href="'.$this->baseUrl().'/kategoria/'.$one['url'].'">'.$one['title'].'</a>';
        	}
        	?>
        </div>
        <div class="srodek">
        	<?php echo $this->layout()->content; ?>
        </div>
    </div>
    <div id="bottom">
        <div class="menu">
            <a href="#"><?php echo $this->translate("lay_about");?></a> |
            <a href="#"><?php echo $this->translate("lay_regula");?></a> |
            <a href="#"><?php echo $this->translate("lay_complaint");?></a>  |
            <a href="#"><?php echo $this->translate("lay_how");?></a> |
            <a href="#"><?php echo $this->translate("lay_contact");?></a> |
            <a href="#"><?php echo $this->translate("lay_dys");?></a> |
        </div>
        <div class="left">
            <div class="find">
                <span><?php echo $this->translate("lay_find_us");?>:</span>
                <a href="#" class="facebook"></a>
                <a href="#" class="vimeo"></a>
                <a href="#" class="youtube"></a>
            </div>
            <div class="kreska"></div>
        </div>
        <div class="right">
            <div class="title"><?php echo $this->translate("lay_fnewsletter");?></div>
            <input id="newsletter_text" type="text" />
            <input id="newsletter" type="submit" value=""/>
            <div class="c"><?php echo $this->translate("lay_rights");?></div>
        </div>
    </div>
</div> 
</body> 
</html>